﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Loan.master" AutoEventWireup="true"
    CodeFile="index.aspx.cs" Inherits="index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 383px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table style="background-color:Gray; width:400px; height:200px;">
        <tr>
            <td>
                User Id
            </td>
            <td class="style1">
                <asp:TextBox ID="txtUser" runat="server" />
            &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="Plz. enter user name" ControlToValidate="txtUser" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Password
            </td>
            <td class="style1">
                <asp:TextBox ID="txtPass" runat="server" TextMode="Password" />
            </td>
        </tr>
        <tr>
            <td>
             <asp:Button ID="btnLogin" runat="server"  Text="Login" onclick="btnLogin_Click" />
            </td>
            <td class="style1">
             <asp:Button ID="Button1" runat="server"  Text="reset" />
            </td>
        </tr>
    </table>
</asp:Content>
